Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FCE 756 enable unit test and remove validators #165

Merged
merged 5 commits into from
Nov 8, 2024

Conversation

kamil-stasiak
Copy link
Contributor

@kamil-stasiak kamil-stasiak commented Oct 31, 2024

Description

  • Generics were removed from webRTCEndpoint.ts.
  • Metadata parsers were removed from webRTCEndpoint.ts.
  • The rawMetadata and metadataParsingError fields were removed.
  • Some unit tests were fixed.
  • Unit and E2E tests that tested metadata parsers were deleted.
  • Fishjam in E2E tests was updated to version 0.9.0.
  • Unit tests were enabled to run on every PR.

Motivation and Context

Why were metadata parsers removed from webRTCEndpoint.ts?

Because Fishjam changed the peer metadata structure. Fishjam introduced a separation between peer and server metadata. Previously, if a peer set its metadata to { a: "sth" }, Fishjam would broadcast this change to other peers as the same object ({ a: "sth" }). Now, if the user sets the same object, Fishjam broadcasts it as { peer: { a: "sth" }, server: { b: "other server metadata" } }. I didn't want to introduce more complicated parsers, so I deleted them.

Types of changes

Breaking change (fix or feature that would cause existing functionality to not work as expected)

Copy link

linear bot commented Oct 31, 2024

@kamil-stasiak kamil-stasiak force-pushed the FCE-756-enable-unit-test-and-remove-validators branch from de078bf to 260e5a5 Compare October 31, 2024 09:14
@kamil-stasiak kamil-stasiak changed the title Fce 756 enable unit test and remove validators FCE 756 enable unit test and remove validators Oct 31, 2024
@kamil-stasiak kamil-stasiak force-pushed the FCE-756-enable-unit-test-and-remove-validators branch from 260e5a5 to d5d8949 Compare October 31, 2024 09:29
@kamil-stasiak kamil-stasiak requested review from roznawsk, czerwiukk and mironiasty and removed request for roznawsk and czerwiukk October 31, 2024 10:05
Copy link
Contributor

@roznawsk roznawsk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's get this merged!

@czerwiukk czerwiukk force-pushed the FCE-756-enable-unit-test-and-remove-validators branch from b8b4599 to 044f514 Compare November 7, 2024 13:16
@czerwiukk czerwiukk marked this pull request as ready for review November 7, 2024 13:31
Copy link
Member

@mironiasty mironiasty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@czerwiukk czerwiukk merged commit f04d96c into main Nov 8, 2024
2 checks passed
@czerwiukk czerwiukk deleted the FCE-756-enable-unit-test-and-remove-validators branch November 8, 2024 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants